package com.example.emos.wx.controller.form;

import com.example.emos.wx.exception.EmosException;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 曹杰
 * @version 1.0
 */
@ApiModel
@Data
public class SearchMonthCheckinForm implements Serializable {
    @NotNull
    @Range(min = 2000, max = 3000)
    private Integer year;

    @NotNull
    @Range(min = 1, max = 12)
    private Integer month;
}
